package com.ggbz.service;

import com.ggbz.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ggbz.entity.dto.LoginRequest;
import com.ggbz.entity.dto.UserUpdateRequest;
import com.ggbz.entity.vo.LoginResponse;
import com.ggbz.entity.vo.UserVO;

/**
 * <p>
 * 用户表，存储所有用户的基本信息 服务类
 * </p>
 *
 * @author ggbz
 * @since 2025-03-08
 */
public interface UsersService extends IService<Users> {

    void deleteUser(Long userId); // 原logout改为删除操作

    Users getUserById(Long userId);

    void updateUser(Long userId, UserUpdateRequest request);

    LoginResponse login(LoginRequest request);

}
